package response.group.relation;

import entity.Group;
import enums.ResponseType;
import response.Response;

import java.util.List;

public class GroupListResponse extends Response {

    private List<Group> groupList;

    public GroupListResponse(List<Group> groupList) {
        super(ResponseType.GroupList);
        this.groupList = groupList;
    }

    public List<Group> getGroupList() {
        return groupList;
    }
}
